//载入那些函数库
let includes = ([
    "include/common.js",
]);

//继承哪些JS 在所有代码之前要完成继承
let inherits = ([
    "inherit/data.js",
    "inherit/room.js"
]);




//被创建的时候触发
function create(  ){

    let me = thisObject;

    //是否是NPC
    me.set("name","西大街");
    me.set("obType", "isRoom");
    me.set("desc",`这是一条宽阔的青石板街道，向东西两头延伸。西大街是
衙门所在，行人稀少，静悄悄地很是冷清。东边是一个热闹的
广场。南边是一家扇庄。北边就是衙门了。`);
    me.set("exits",{
        east:__DIR__+"guangchang.js",
        west:"",
    });

    return thisObject;

}


function kill(me){
    os.debug("我是kill" );
    return "kill的返回值";
}



function heartbeat(me) {

    return {};
}

